package com.luyuan.crm.sale.model;

import com.luyuan.crm.member.model.MemberCoupon;
import com.luyuan.crm.promotion.Promotion;
import com.ruijie.foundation.bo.EntityObject;

public class OrderPromotion extends EntityObject<String> {

    /**	
     * Member Description
     */
    private static final long serialVersionUID = 1L;

    /**
     * 对应的订单
     */
    private Order order;

    /**
     * 会员折扣
     */
    private boolean memberDiscount = false;

    /**
     * 减免运费
     */
    private boolean freeFreight = false;

    /**
     * 抵扣积分
     */
    private int integralDeduction = 0;

    /**
     * 购物卷类型
     */
    private MemberCoupon couponDeduction = null;

    /**
     * 促销活动
     */
    private Promotion promotion;

    public boolean isFreeFreight() {
        return freeFreight;
    }

    public void setFreeFreight(boolean freeFreight) {
        this.freeFreight = freeFreight;
    }

    public int getIntegralDeduction() {
        return integralDeduction;
    }

    public void setIntegralDeduction(int integralDeduction) {
        this.integralDeduction = integralDeduction;
    }

    public MemberCoupon getCouponDeduction() {
        return couponDeduction;
    }

    public void setCouponDeduction(MemberCoupon couponDeduction) {
        this.couponDeduction = couponDeduction;
    }

    public boolean isMemberDiscount() {
        return memberDiscount;
    }

    public void setMemberDiscount(boolean memberDiscount) {
        this.memberDiscount = memberDiscount;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Promotion getPromotion() {
        return promotion;
    }

    public void setPromotion(Promotion promotion) {
        this.promotion = promotion;
    }
}
